<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>西南绿电崛起：云贵川渝能源转型之路</title>
    <link rel="stylesheet" href="styles.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar">
        <div class="nav-container">
            <h1 class="nav-title">西南绿电崛起</h1>
            <div class="nav-menu">
                <a href="#intro" class="nav-link active">开篇</a>
                <a href="#policy" class="nav-link">政策解读</a>
                <a href="#tech" class="nav-link">技术创新</a>
                <a href="#result" class="nav-link">成果展望</a>
            </div>
        </div>
    </nav>

    <!-- 开篇部分 -->
    <section id="intro" class="section intro-section">
        <div class="container">
            <div class="intro-content">
                <h2 class="section-title">西南能源地图崛起</h2>
                <div class="map-container">
                    <div id="china-map" class="map-wrapper">
                        <!-- 西南四省高亮区域 -->
                        <div class="province-highlight yunnan" data-province="云南">
                            <span class="province-name">云南</span>
                            <div class="energy-icon solar"></div>
                        </div>
                        <div class="province-highlight guizhou" data-province="贵州">
                            <span class="province-name">贵州</span>
                            <div class="energy-icon hydro"></div>
                        </div>
                        <div class="province-highlight sichuan" data-province="四川">
                            <span class="province-name">四川</span>
                            <div class="energy-icon hydro"></div>
                        </div>
                        <div class="province-highlight chongqing" data-province="重庆">
                            <span class="province-name">重庆</span>
                            <div class="energy-icon solar"></div>
                        </div>
                    </div>
                </div>
                <div class="timeline-container">
                    <div class="timeline">
                        <div class="timeline-item" data-year="2020">
                            <span>2020</span>
                            <div class="timeline-dot"></div>
                        </div>
                        <div class="timeline-item" data-year="2025">
                            <span>2025</span>
                            <div class="timeline-dot"></div>
                        </div>
                    </div>
                </div>
                <p class="intro-text">
                    在中国西南，一场绿色能源革命正在上演。云南的阳光、贵州的山地、四川的江河、重庆的智造，共同绘制着中国能源转型的黄金版图。
                </p>
            </div>
        </div>
    </section>

    <!-- 政策解读部分 -->
    <section id="policy" class="section policy-section">
        <div class="container">
            <h2 class="section-title">四省竞合格局</h2>
            <div class="policy-grid">
                <div class="policy-card">
                    <h3>2025年非化石能源占比</h3>
                    <div class="chart-container">
                        <canvas id="energyChart"></canvas>
                    </div>
                </div>
                <div class="policy-details">
                    <div class="policy-item">
                        <h4>云南：跨境电力贸易</h4>
                        <p>依托丰富的水电和光伏资源，打造面向东南亚的电力枢纽</p>
                    </div>
                    <div class="policy-item">
                        <h4>四川：氢能全产业链</h4>
                        <p>《新能源产业链建圈强链方案》推动氢能产业集群发展</p>
                    </div>
                    <div class="policy-item">
                        <h4>贵州：生态修复奇迹</h4>
                        <p>煤矿区转型光伏电站，实现从黑色到绿色的华丽转身</p>
                    </div>
                    <div class="policy-item">
                        <h4>重庆：城市光伏革命</h4>
                        <p>"成渝氢走廊"建设，30座加氢站构建绿色交通网络</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 技术创新部分 -->
    <section id="tech" class="section tech-section">
        <div class="container">
            <h2 class="section-title">技术创新：突破与实践</h2>
            <div class="tech-showcase">
                <div class="tech-item">
                    <h3>雅砻江柯拉光伏电站</h3>
                    <div class="video-container">
                        <video controls poster="assets/solar-farm.jpg">
                            <source src="assets/solar-farm.mp4" type="video/mp4">
                            您的浏览器不支持视频播放
                        </video>
                    </div>
                    <p>全球最大水光互补电站，年减排160万吨，相当于种植9000万棵树</p>
                </div>
                <div class="tech-item">
                    <h3>氢能公交车</h3>
                    <div class="video-container">
                        <video controls poster="assets/hydrogen-bus.jpg">
                            <source src="assets/hydrogen-bus.mp4" type="video/mp4">
                            您的浏览器不支持视频播放
                        </video>
                    </div>
                    <p>零排放行驶，绿色氢气可视化流动，引领城市交通革命</p>
                </div>
                <div class="tech-data">
                    <h3>装机增长数据</h3>
                    <div class="chart-container">
                        <canvas id="growthChart"></canvas>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 成果展望部分 -->
    <section id="result" class="section result-section">
        <div class="container">
            <h2 class="section-title">成果与展望</h2>
            <div class="result-content">
                <div class="comparison-slider">
                    <div class="slider-container">
                        <div class="before-after">
                            <img src="assets/coal-mine.jpg" alt="煤矿旧照" class="before-img">
                            <img src="assets/solar-plant.jpg" alt="光伏电站新貌" class="after-img">
                        </div>
                        <input type="range" min="0" max="100" value="50" class="slider" id="comparisonSlider">
                    </div>
                    <p>贵州盘州：从黑色煤矿到蓝色光伏的华丽转身</p>
                </div>
                <div class="achievement-data">
                    <div class="data-card">
                        <h3>减排总量</h3>
                        <div class="data-value" id="emissionReduction">2.3</div>
                        <p>相当于2.3个西湖水量的CO₂</p>
                    </div>
                    <div class="countdown-container">
                        <h3>碳达峰倒计时</h3>
                        <div class="countdown" id="countdown">
                            <div class="countdown-item">
                                <span id="days">--</span>
                                <label>天</label>
                            </div>
                            <div class="countdown-item">
                                <span id="hours">--</span>
                                <label>时</label>
                            </div>
                            <div class="countdown-item">
                                <span id="minutes">--</span>
                                <label>分</label>
                            </div>
                            <div class="countdown-item">
                                <span id="seconds">--</span>
                                <label>秒</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <p>&copy; 2024 西南绿电崛起项目 | 数据可视化展示</p>
        </div>
    </footer>

    <!-- 脚本文件 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/Chart.js/4.4.0/chart.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.js"></script>
    <script src="script.js"></script>
</body>
</html>
